#!/bin/sh

ver_old=$2
if [ "$(apk version -t "$ver_old" '1.2.0-r1')" = '<' ]; then
    echo '* openrc-settingsd should be running for the services to be available.' 1>&2
    echo '* Please run: "rc-update add openrc-settingsd default && rc-service openrc-settingsd start"' 1>&2
fi
